const app = new (require('koa'))
import mount from 'koa-mount'
import koaStatic from 'koa-static'
import ssr from './ssr'

app.use(mount('/static',koaStatic(__dirname+'/source')))

app.use(mount('/',ssr()))

app.listen(8080, () => console.log('on port 8080'))

